home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
COMPILER
/
VP10B003
/
VPC.ZIP
/
EXAMPLES
/
TEST
/
TESTWCRT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-06-22
|
969b
|
32 lines
{█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█}
{█ █}
{█ Virtual Pascal Examples. Version 1.0. █}
{█ WinCrt unit test example. █}
{█ ─────────────────────────────────────────────────█}
{█ Copyright (C) 1995 B&M&T Corporation █}
{█ ─────────────────────────────────────────────────█}
{█ Written by Vitaly Miryanov █}
{█ █}
{▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀}
program TestWCrt;
uses WinCrt;
var
I: Integer;
S: String;
begin
{$IFDEF OS2}
{ Select 14 x 6 System VIO font }
FontAttr.lMaxBaselineExt := 14;
FontAttr.lAveCharWidth := 6;
{$ENDIF}
for I := 0 to 25 * 80-1 do Write(I mod 10);
WriteLn('Type ''q'' to exit'#7);
repeat
ReadLn(S);
WriteLn(S);
until S = 'q';
end.